// Decompiled on 周六 2月 22 19:31:49 CST 2025 with Zomboid Decompiler v0.1.3 using Vineflower.
package zombie.audio.parameters;

import zombie.audio.FMODGlobalParameter;
import zombie.iso.IsoWorld;

public final class ParameterPowerSupply extends FMODGlobalParameter {
    public ParameterPowerSupply() {
        super("Electricity");
    }

    @Override
    public float calculateCurrentValue() {
        return IsoWorld.instance != null && IsoWorld.instance.isHydroPowerOn() ? 1.0F : 0.0F;
    }
}
